package work.chief.service.impl;

import work.chief.dao.impl.CategoryDaoImpl;
import work.chief.entity.Category;
import work.chief.service.CategoryService;
import work.chief.dao.CategoryDao;

import java.util.List;

public class CategoryServiceImpl implements CategoryService {

    private CategoryDao categoryDao=new CategoryDaoImpl();
    @Override
    public List<Category> selectCategory(int pageSize) {
        return categoryDao.selectCategory(pageSize);
    }
}
